pull: Add queuing into the higher level logic
authorColin Walters <walters@verbum.org>
Thu, 19 Jan 2017 02:57:07 +0000 (21:57 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 7 Feb 2017 19:59:40 +0000 (19:59 +0000)
commitc18628ecb8b2ef591db0444fa57052cba60807a8
tree55f63787196da5d36e2ea8022ef1436bd734a20e
parent3d38f03e4fd4cc20f754bb787feb0d109387f4f8
pull: Add queuing into the higher level logic

Working on the libcurl backend, I didn't want to reimplement another queue. I
think the queue logic is really better done at the high level, since the fetcher
knows how we want to prioritize metadata over content, etc.

Adding another queue here is duplication, but things will look nicer when we can
actually delete the libsoup one in the next commit.

Closes: #654
Approved by: jlebon
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo-pull.c